<template lang="pug">
  div
    | 加载中...
</template>

<script>

import Window from './helpers/window'
import Settings from '../settings'

export default {
  name: 'AppUrl',
  created () {
    if (Window.isWeibo()) {
      window.location = Settings.directUrl.weibo
    } else if (Window.isIphone()) {
      window.location = Settings.directUrl.ios
    } else {
      window.location = Settings.directUrl.default
    }
  }
}
</script>
